package com.mmlc.network.responsebean;

import java.util.List;

/**
 * Created by Administrator on 2016/9/2.
 */
public class PrepareResponseBean {


    /**
     * code : 0
     * message : OK
     * data : {"goods_list":[{"id":"561","goods_id":"13882","store_id":"0","name":"Juicy Couture橘滋 女童半截裙","num":"1","img_thumb":"http://api.test.lolever.com/uploads/images/201607/goods_img/13883_P_1468295088999cover_min.jpg","is_row":"1","spec":"米白/浅红/浅蓝/中蓝色 10","price":"339","stock":"1","price_total":339}],"coupon_list":[{"id":"2","coupon_sn":"dfad","use_status":"0","used_time":"0","order_id":"","name":"测试券","money":"10.00","min_price":"100.00","use_start_date":"2016-09-02 00:00:00","use_end_date":"2016-09-16 00:00:00","remark":"全品类"},{"id":"1","coupon_sn":"dfad","use_status":"0","used_time":"0","order_id":"","name":"测试券","money":"10.00","min_price":"100.00","use_start_date":"2016-09-02 00:00:00","use_end_date":"2016-09-16 00:00:00","remark":"男士分类商品可用"}],"other_list":{"goods_total_price":339,"shipping_price":0,"coupon_price":0,"score_detail":{"available_score":0,"available_score_price":0,"content":""}},"delivery_list":[{"id":"1","name":"联邦快递","first_price":"0","ship_code":"lianbangkuaidi"}],"selected_info":{"pay_code":"alipay","ship_code":"lianbangkuaidi","ship_id":"1","invoice_type":"1","invoice_name":"","discount_price":"0.00"},"suborder_info":[{"type":"定金","amount":500},{"type":"尾款","amount":499}]}
     */

    private int code;
    private String message;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * goods_list : [{"id":"561","goods_id":"13882","store_id":"0","name":"Juicy Couture橘滋 女童半截裙","num":"1","img_thumb":"http://api.test.lolever.com/uploads/images/201607/goods_img/13883_P_1468295088999cover_min.jpg","is_row":"1","spec":"米白/浅红/浅蓝/中蓝色 10","price":"339","stock":"1","price_total":339}]
         * coupon_list : [{"id":"2","coupon_sn":"dfad","use_status":"0","used_time":"0","order_id":"","name":"测试券","money":"10.00","min_price":"100.00","use_start_date":"2016-09-02 00:00:00","use_end_date":"2016-09-16 00:00:00","remark":"全品类"},{"id":"1","coupon_sn":"dfad","use_status":"0","used_time":"0","order_id":"","name":"测试券","money":"10.00","min_price":"100.00","use_start_date":"2016-09-02 00:00:00","use_end_date":"2016-09-16 00:00:00","remark":"男士分类商品可用"}]
         * other_list : {"goods_total_price":339,"shipping_price":0,"coupon_price":0,"score_detail":{"available_score":0,"available_score_price":0,"content":""}}
         * delivery_list : [{"id":"1","name":"联邦快递","first_price":"0","ship_code":"lianbangkuaidi"}]
         * selected_info : {"pay_code":"alipay","ship_code":"lianbangkuaidi","ship_id":"1","invoice_type":"1","invoice_name":"","discount_price":"0.00"}
         * suborder_info : [{"type":"定金","amount":500},{"type":"尾款","amount":499}]
         */

        private OtherListBean other_list;
        private SelectedInfoBean selected_info;
        private List<GoodsListBean> goods_list;
        private List<CouponListBean> coupon_list;
        private List<DeliveryListBean> delivery_list;
//        private List<SuborderInfoBean> suborder_info;

        public OtherListBean getOther_list() {
            return other_list;
        }

        public void setOther_list(OtherListBean other_list) {
            this.other_list = other_list;
        }

        public SelectedInfoBean getSelected_info() {
            return selected_info;
        }

        public void setSelected_info(SelectedInfoBean selected_info) {
            this.selected_info = selected_info;
        }

        public List<GoodsListBean> getGoods_list() {
            return goods_list;
        }

        public void setGoods_list(List<GoodsListBean> goods_list) {
            this.goods_list = goods_list;
        }

        public List<CouponListBean> getCoupon_list() {
            return coupon_list;
        }

        public void setCoupon_list(List<CouponListBean> coupon_list) {
            this.coupon_list = coupon_list;
        }

        public List<DeliveryListBean> getDelivery_list() {
            return delivery_list;
        }

        public void setDelivery_list(List<DeliveryListBean> delivery_list) {
            this.delivery_list = delivery_list;
        }

//        public List<SuborderInfoBean> getSuborder_info() {
//            return suborder_info;
//        }
//
//        public void setSuborder_info(List<SuborderInfoBean> suborder_info) {
//            this.suborder_info = suborder_info;
//        }

        public static class OtherListBean {
            /**
             * goods_total_price : 339
             * shipping_price : 0
             * coupon_price : 0
             * score_detail : {"available_score":0,"available_score_price":0,"content":""}
             */

            private double goods_total_price;
            private double shipping_price;
            private double dis_price;
            private double coupon_price;
            private ScoreDetailBean score_detail;

            public double getGoods_total_price() {
                return goods_total_price;
            }

            public void setGoods_total_price(double goods_total_price) {
                this.goods_total_price = goods_total_price;
            }

            public double getShipping_price() {
                return shipping_price;
            }

            public void setShipping_price(double shipping_price) {
                this.shipping_price = shipping_price;
            }

            public double getDis_price() {
                return dis_price;
            }

            public void setDis_price(double dis_price) {
                this.dis_price = dis_price;
            }

            public double getCoupon_price() {
                return coupon_price;
            }

            public void setCoupon_price(double coupon_price) {
                this.coupon_price = coupon_price;
            }

            public ScoreDetailBean getScore_detail() {
                return score_detail;
            }

            public void setScore_detail(ScoreDetailBean score_detail) {
                this.score_detail = score_detail;
            }

            public static class ScoreDetailBean {
                /**
                 * available_score : 0
                 * available_score_price : 0
                 * content :
                 */

                private int available_score;
                private int available_score_price;
                private String content;

                public int getAvailable_score() {
                    return available_score;
                }

                public void setAvailable_score(int available_score) {
                    this.available_score = available_score;
                }

                public int getAvailable_score_price() {
                    return available_score_price;
                }

                public void setAvailable_score_price(int available_score_price) {
                    this.available_score_price = available_score_price;
                }

                public String getContent() {
                    return content;
                }

                public void setContent(String content) {
                    this.content = content;
                }
            }
        }

        public static class SelectedInfoBean {
            /**
             * pay_code : alipay
             * ship_code : lianbangkuaidi
             * ship_id : 1
             * invoice_type : 1
             * invoice_name :
             * discount_price : 0.00
             */

            private String pay_code;
            private String ship_code;
            private String ship_id;
            private String invoice_type;
            private String invoice_name;
            private String discount_price;

            public String getPay_code() {
                return pay_code;
            }

            public void setPay_code(String pay_code) {
                this.pay_code = pay_code;
            }

            public String getShip_code() {
                return ship_code;
            }

            public void setShip_code(String ship_code) {
                this.ship_code = ship_code;
            }

            public String getShip_id() {
                return ship_id;
            }

            public void setShip_id(String ship_id) {
                this.ship_id = ship_id;
            }

            public String getInvoice_type() {
                return invoice_type;
            }

            public void setInvoice_type(String invoice_type) {
                this.invoice_type = invoice_type;
            }

            public String getInvoice_name() {
                return invoice_name;
            }

            public void setInvoice_name(String invoice_name) {
                this.invoice_name = invoice_name;
            }

            public String getDiscount_price() {
                return discount_price;
            }

            public void setDiscount_price(String discount_price) {
                this.discount_price = discount_price;
            }
        }

        public static class GoodsListBean {
            /**
             * id : 561
             * goods_id : 13882
             * store_id : 0
             * name : Juicy Couture橘滋 女童半截裙
             * num : 1
             * img_thumb : http://api.test.lolever.com/uploads/images/201607/goods_img/13883_P_1468295088999cover_min.jpg
             * is_row : 1
             * spec : 米白/浅红/浅蓝/中蓝色 10
             * price : 339
             * stock : 1
             * price_total : 339
             */

            private String id;
            private String goods_id;
            private String store_id;
            private String name;
            private String num;
            private String img_thumb;
            private int is_row;
            private String spec;
            private String price;
            private String stock;
            private int price_total;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getGoods_id() {
                return goods_id;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public String getStore_id() {
                return store_id;
            }

            public void setStore_id(String store_id) {
                this.store_id = store_id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getNum() {
                return num;
            }

            public void setNum(String num) {
                this.num = num;
            }

            public String getImg_thumb() {
                return img_thumb;
            }

            public void setImg_thumb(String img_thumb) {
                this.img_thumb = img_thumb;
            }

            public int getIs_row() {
                return is_row;
            }

            public void setIs_row(int is_row) {
                this.is_row = is_row;
            }

            public String getSpec() {
                return spec;
            }

            public void setSpec(String spec) {
                this.spec = spec;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getStock() {
                return stock;
            }

            public void setStock(String stock) {
                this.stock = stock;
            }

            public int getPrice_total() {
                return price_total;
            }

            public void setPrice_total(int price_total) {
                this.price_total = price_total;
            }
        }

        public static class CouponListBean {
            /**
             * id : 2
             * coupon_sn : dfad
             * use_status : 0
             * used_time : 0
             * order_id :
             * name : 测试券
             * money : 10.00
             * min_price : 100.00
             * use_start_date : 2016-09-02 00:00:00
             * use_end_date : 2016-09-16 00:00:00
             * remark : 全品类
             */

            private String id;
            private String coupon_sn;
            private String use_status;
            private String used_time;
            private String order_id;
            private String name;
            private String money;
            private String min_price;
            private String use_start_date;
            private String use_end_date;
            private String remark;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getCoupon_sn() {
                return coupon_sn;
            }

            public void setCoupon_sn(String coupon_sn) {
                this.coupon_sn = coupon_sn;
            }

            public String getUse_status() {
                return use_status;
            }

            public void setUse_status(String use_status) {
                this.use_status = use_status;
            }

            public String getUsed_time() {
                return used_time;
            }

            public void setUsed_time(String used_time) {
                this.used_time = used_time;
            }

            public String getOrder_id() {
                return order_id;
            }

            public void setOrder_id(String order_id) {
                this.order_id = order_id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getMoney() {
                return money;
            }

            public void setMoney(String money) {
                this.money = money;
            }

            public String getMin_price() {
                return min_price;
            }

            public void setMin_price(String min_price) {
                this.min_price = min_price;
            }

            public String getUse_start_date() {
                return use_start_date;
            }

            public void setUse_start_date(String use_start_date) {
                this.use_start_date = use_start_date;
            }

            public String getUse_end_date() {
                return use_end_date;
            }

            public void setUse_end_date(String use_end_date) {
                this.use_end_date = use_end_date;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }
        }

        public static class DeliveryListBean {
            /**
             * id : 1
             * name : 联邦快递
             * first_price : 0
             * ship_code : lianbangkuaidi
             */

            private String id;
            private String name;
            private String first_price;
            private String ship_code;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getFirst_price() {
                return first_price;
            }

            public void setFirst_price(String first_price) {
                this.first_price = first_price;
            }

            public String getShip_code() {
                return ship_code;
            }

            public void setShip_code(String ship_code) {
                this.ship_code = ship_code;
            }
        }

        public static class SuborderInfoBean {
            /**
             * type : 定金
             * amount : 500
             */

            private String type;
            private int amount;

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public int getAmount() {
                return amount;
            }

            public void setAmount(int amount) {
                this.amount = amount;
            }
        }
    }
}
